//
// Created by darcy on 4/23/21.
//

#ifndef INC_06_PARK_H
#define INC_06_PARK_H

#include "Automobile.h"
#include <iostream>
class Automobile;
class Park {
  public:
    explicit Park(int n);

    void showInfo() const;

    void enter(Automobile *automobile);

    void leave(Automobile *automobile);

  private:
    double income;
    int N;
    Automobile **spaces;
    int i;
};

#endif // INC_06_PARK_H
